<?php

class m130630_175024_update_user_profile extends CDbMigration
{
	public function up()
	{
		$this->addColumn('user_profiles', 'phone', 'varchar(20)');
		$this->addColumn('user_profiles', 'avatar', 'varchar(255)');
		return true;
	}

	public function down()
	{
		$this->dropColumn('user_profiles', 'phone');
		$this->dropColumn('user_profiles', 'avatar');
	}

	/*
	// Use safeUp/safeDown to do migration with transaction
	public function safeUp()
	{
	}

	public function safeDown()
	{
	}
	*/
}